﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Dominio.Entidades;
using Dominio.Logica;

namespace Interfaz
{
    public partial class VerComisiones : Form
    {
        public VerComisiones()
        {
            InitializeComponent();
        }

        private void VerComisiones_Load(object sender, EventArgs e)
        {
            Comisiones c = new Comisiones();
            dataGridView1.DataSource = c.TraerTodas();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }
    }
}
